package ssm_zxw.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import ssm_zxw.pojo.Role;

import java.util.List;

public interface RoleMapper {

    @Select("select * from sys_role")
    public List<Role> findALl();

    public void addRole(Role role);

    public void deleteRole(int id);

}
